<template>
  <div class="not">
    <div class="content">
      <img src="@/assets/404.png" alt="" />
      <div class="r">
        <div>404</div>
        <div>oh 页面丢失</div>
        <div>你所寻找的页面不存在，你可以点击下面的按钮，返回主页</div>
        <el-button @click="handleReturn">返回主页</el-button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    handleReturn() {
      this.$router.replace({
        path: "/welcome",
      });
    },
  },
};
</script>

<style lang="scss" scoped>
.not {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  .content {
    display: flex;
    justify-content: space-between;
    padding-right: 40px;
    box-sizing: border-box;
    .r {
      color: #333333;
      div:nth-child(1) {
        color: #333333;
        font-size: 180px;
        font-weight: bold;
      }
      div:nth-child(2) {
        font-size: 40px;
        font-weight: bold;
      }
      div:nth-child(3) {
        font-size: 20px;
        margin: 20px 0;
      }
    }
  }
}
</style>
